package com.hujiang.basic.search.model;

/**
 * Created by zhanglibin on 2017/4/19.
 */
public enum RequestType {

    INDEX (1),
    UPDATE (2),
    UPDATEBYQUERY (3),
    DELETE(4);

    private int value ;

    private RequestType( int value) {
        this.value = value;
    }

    public int getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return String.valueOf(this.value);
    }
}
